package com.bitter;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * 订单提供者启动入口
 * 
 * @author thomashe
 * @date 2020年7月17日
 */
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
@MapperScan(basePackages = "com.bitter.order.mapper")
@EnableFeignClients
@EnableEurekaClient
public class OrderProviderApplication {

	public static void main(String[] args) throws Exception {
		SpringApplication.run(OrderProviderApplication.class, args);

	}
}
